import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    String str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";

    return MaterialApp(
        title: 'SignleChildScrollView',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: new Container(
          color: Colors.white,
          child: new Scrollbar(
            child: new SingleChildScrollView(
              padding: EdgeInsets.all(20),
              child: new Center(
                child: Column(
                  children: str.split('').map((c) => Text(c)).toList(),
                ),
              ),
            ),
          ),
        ));
  }
}
